﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace UIDocument
{
    public partial class xDefault : System.Web.UI.Page
    {
        protected bool loginVisible = true ;
        protected bool logout = false;
        protected void Page_Load(object sender, EventArgs e)
        {
        this.Title = "Online Document ";
            if (Session["LogedUser"] != null)
            {
                loginVisible = false;
            }
            if (Request.QueryString["logout"] != null)
                {
                loginVisible = true;
                logout = true;

                }

        }
    }
}